<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ShopNC后台管理系统</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<smart>include file ='sys_head_config.html'</smart>
</head>
<body>
<div id="ceng"> <smart>include file ='sys_header.html'</smart>
  <div id="main" style="height:auto">
    <div id="welcome">
      <p>欢迎您进入ShopNC后台管理系统！</p>
　　　　
通过后台管理系统，您可以轻松管理商铺相关、查询信息,ShopNC为您打造方便、快捷的后台管理系统！       </div>
    <em>后台管理系统</em>
    <div id="main-left">
      <div id="product-help" style="background-image:none; height:auto; margin-top:0px; padding:20px">
  <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" style="margin-top:10px">
	<tr>
      <th align="center" valign="middle" bgcolor="#DBE6DE">文件名</th>
	  <th align="center" valign="middle" bgcolor="#DBE6DE">时间</th>
	  <th align="center" valign="middle" bgcolor="#DBE6DE">大小</th>
	  <th align="center" valign="middle" bgcolor="#DBE6DE">卷号</th>
	  <th align="center" valign="middle" bgcolor="#DBE6DE">操作</th>
    </tr>
	<smart> section name=i loop=$file_array </smart>
    <tr>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $file_array[i].name </smart></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $file_array[i].time </smart></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $file_array[i].size </smart></td>
	  <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $vol_array[i][3] </smart></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF">
	  <smart> if $vol_array[i][3] eq 1 </smart>
	  	<input type="button" value="删除" onclick="if(confirm('确定要删除吗？')){location.href='sqlback.manage.php?action=del&filename=<smart> $file_array[i].name </smart>';}else{return false;}" />
	  	<input type="button" value="还原" onclick="if(confirm('确定要还原数据库吗？')){location.href='sqlback.manage.php?action=restore_two&filename=<smart> $file_array[i].name </smart>';}else{return false;}" />
	  <smart> /if </smart>
	  </td>
    </tr>
    <smart> /section </smart>
	
	
	<tr>
		<td><input type="button" value="返回" onclick="history.back();" /></td>
	</tr>
  </table>
      </div>
    </div>
    <smart>include file ='sys_right_help.html'</smart>
    <div style="clear:both"></div>
  </div>
 <smart>include file ='sys_footer.html'</smart> 
</div>
</body>
</html>
